package com.liuya.session.dao;

import com.liuya.base.BaseMapper;
import com.liuya.session.model.SysSession;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * session管理
 *
 * @author liuya
 * @date 20160824
 */
@Repository
public interface SysSessionMapper extends BaseMapper<SysSession>{

    void deleteBySessionId(String sessionId);

    String queryBySessionId(String sessionId);

    List<String> querySessionIdByAccount(String account);

}
